﻿using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;

namespace Roton.Audio
{
    public class Core
    {
        /// <summary>
        /// Loads a sample into the sample bank.
        /// </summary>
        /// <param name="Slot">The slot number to write the sample into (existing slots will be overwritten).</param>
        /// <param name="Data">A Stream pointing to the sample data.</param>
        public void LoadSound(int Slot, Stream Data) {
            LoadSound(Slot, Data, (int)Data.Length);
        }

        /// <summary>
        /// Loads a sample into the sample bank.
        /// </summary>
        /// <param name="Slot">The slot number to write the sample into (existing slots will be overwritten).</param>
        /// <param name="Data">A Stream pointing to the sample data.</param>
        /// <param name="Length">The desired length of the sample. If this is longer than the raw sample data, the loaded sample will be padded.</param>
        public void LoadSound(int Slot, Stream Data, int Length) {
        }
    }
}
